﻿#region Using namespaces

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOL.Apps.GeneNetworkBrowser;

#endregion

namespace BOL.Apps.GeneNetworkBrowser.ViewModels
{
    public sealed class RelationTreeViewItemViewModel : TreeViewItemViewModel
    {
        #region TreeViewItemViewModel implementation

        public Relation Relation { get; private set; }

        public RelationTreeViewItemViewModel(Relation relation, RelationsTreeViewItemViewModel vmRelation)
            : base(vmRelation, false)
        {
            Relation = relation;
            _title = relation.ToString();
        }

        #endregion
    }
}
